package org.dromara.business.modules.message.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.business.modules.message.domain.BuMessage;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 消息通知视图对象 bu_message
 *
 * @author ckk
 * @date 2025-10-23
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BuMessage.class)
public class BuMessageVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 消息ID
     */
    @ExcelProperty(value = "消息ID")
    private Long id;

    /**
     * 消息标题
     */
    @ExcelProperty(value = "消息标题")
    private String title;

    /**
     * 是否已读：0-未读，1-已读
     */
    @ExcelProperty(value = "是否已读：0-未读，1-已读")
    private Integer isRead;

    /**
     * 接收者是否删除：0-未删除，1-已删除
     */
    @ExcelProperty(value = "接收者是否删除：0-未删除，1-已删除")
    private Integer isDeleted;

    /**
     * 发送时间
     */
    @ExcelProperty(value = "发送时间")
    private Date sendTime;

    /**
     * 阅读时间
     */
    @ExcelProperty(value = "阅读时间")
    private Date readTime;

    /**
     * 业务标识（service-服务，demand-需求）()
     */
    @ExcelProperty(value = "业务标识（service-服务，demand-需求）")
    private String businessSign;

    /**
     * 业务Id
     */
    private String businessId;

}
